package com.rainyun.rc.orm;

import com.rainyun.rc.orm.annotation.ReferField;

/**外键相关信息*/
public class ReferInfo {
	
	Class<?> clazz;
	String field;
	ReferField info;
	
	/**参数:外键所在类,外键字段,字段的外键信息*/
	public ReferInfo(Class<?> clazz, String field, ReferField info) {
		this.clazz = clazz;
		this.field = field;
		this.info = info;
	}

	public Class<?> getClazz() {
		return clazz;
	}
	public void setClazz(Class<?> clazz) {
		this.clazz = clazz;
	}
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}

	public ReferField getInfo() {
		return info;
	}
	public void setInfo(ReferField info) {
		this.info = info;
	}
	
}
